package com.shaozi.nc.io.mq;

import com.shaozi.data.mq.protocol.ConnectionBuilder;
import com.shaozi.data.mq.protocol.stomp.StompTextProducer;
import com.shaozi.nc.io.mq.bean.OAPushDataBean;

/**
 * BeanUtils.getBean("oaPushDataProducer");
 * @author xueshuwu
 *
 */
public class OAPushDataProducer extends StompTextProducer {

	public OAPushDataProducer(ConnectionBuilder connBuilder) {
		super(connBuilder);
		
	}
	
	public void pushData(OAPushDataBean dataBean) {
		sendObj("com.push.oa", dataBean);
	}

}
